package com.meshnetics.gb.stack.mac.type;

import com.meshnetics.gb.type.impl.custom.FiniteEnumerationElement;

/**
 * Enumeration of disassociation resons. Used in MACDisassociationRequest and MACDisassociationIndication.
 *
 * @author AKovylin
 */
public class DisassociationReason extends FiniteEnumerationElement {
    public static final DisassociationReason COORDINATOR_WISH =
            new DisassociationReason(TypeDisassociationReason.TYPE, 0x01, "COORDINATOR_WISH");
    public static final DisassociationReason DEVICE_WISH =
            new DisassociationReason(TypeDisassociationReason.TYPE, 0x02, "DEVICE_WISH");

    DisassociationReason(TypeDisassociationReason type, long value, String name) {
        super(type, value, name);
    }
}
